package com.example.scaffold.order.converter;

import com.example.scaffold.order.bean.OrderVO;
import com.example.scaffold.order.entity.Order;
import org.mapstruct.Mapper;

/**
 * 订单转换器
 * 遵循阿里手册：转换器命名规范
 *
 * @author example
 */
@Mapper(componentModel = "spring")
public interface OrderConverter {
    OrderVO toVO(Order order);
}